package cn.kk.Blog.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author kk
 * @since 2022-11-30
 */
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Data
public class TUser {


    /**
     * 主键
     */
    private Integer id;

    private String username;

    private String password;

    private String salt;

    private String email;

    private Integer type;

    /**
     * 状态：1为可用，0为不可用，2为冻结
     */
    private Integer status;

    private String activationCode;

    private String headerUrl;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

}
